<!-- api请求封装 -->
<template>
    <ul class="zhihu">
        <!-- <li v-for="(item) in res.list">{{ item.name }}</li> -->
    </ul>
</template>

<script setup lang="ts">
    import { ref, reactive, onMounted, toRefs } from "vue";
    import useZhihu from '@/models/zhihu'

    import { useWZCStore } from '@/hooks'
import { useStore } from "vuex";
import { State } from "@/store";

    const res = await useZhihu();
    console.log(res.value)

    onMounted(()=>{  })
    const { state: wzcState, getters } = useWZCStore();
    
    // console.log(wzcState)
    console.log(getters["user/isLogin"]);
    

    
</script>

<style scoped>
</style>